package com.whty.Demo01;

import org.springframework.context.support.FileSystemXmlApplicationContext;


/**
 * Copyright 2016-2022 tianyu education Corporation, All Rights Reserved
 * http://www.whty.com.cn/
 *
 * @author wangming
 * @version 1.0
 * @date 2020/9/8 11:28
 * @since 1.0
 */


public class ReadXMLConfMain {
    public static void main(String[] args) {
        FileSystemXmlApplicationContext ac = new FileSystemXmlApplicationContext("classpath:/application.xml");
        System.out.println(ac.getBean("name1"));
    }
}
